/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 6/25/2011 
           
            */

           
            using System;
            using System.Collections.Generic;
            using System.Text;    
        
                    
            namespace BusinessObject{
                  /// <summary>
                    /// This is SubCategory object, it is object of BusinessObject table.
                /// </summary>
                public class SubCategory {
		#region fields
		private int subCategoryId; 
		private int categoryId; 
		private string subCategoryCode; 
		private string published; 
		private int order; 
 private List<SubCategory_Trans> lstSubCategory_Trans;

 private Paging objPaging;

 private SortOrder objSortOrder;

 private string condition;

 private int toltalRow;

		
		#endregion fields
		
		#region constructor
            /// <summary>
            /// Define default constructor for SubCategory Object
            /// </summary>
		public SubCategory (){
			this.subCategoryId = int.MinValue;
			this.categoryId = int.MinValue;
			this.subCategoryCode = string.Empty;
			this.published = string.Empty;
			this.order = int.MinValue;this.objPaging =new Paging();
this.objSortOrder =new SortOrder();
this.condition =string.Empty;
this.toltalRow=0;

                this.lstSubCategory_Trans=null;
		        }
		#endregion constructor
		#region properties
                /// <summary>
            /// Define SubCategoryId Property
            /// </summary>
		public int SubCategoryId {
			get { return this.subCategoryId; }
			set { this.subCategoryId = value; }
		}
                /// <summary>
            /// Define CategoryId Property
            /// </summary>
		public int CategoryId {
			get { return this.categoryId; }
			set { this.categoryId = value; }
		}
                /// <summary>
            /// Define SubCategoryCode Property
            /// </summary>
		public string SubCategoryCode {
			get { return this.subCategoryCode; }
			set { this.subCategoryCode = value; }
		}
                /// <summary>
            /// Define Published Property
            /// </summary>
		public string Published {
			get { return this.published; }
			set { this.published = value; }
		}
                /// <summary>
            /// Define Order Property
            /// </summary>
		public int Order {
			get { return this.order; }
			set { this.order = value; }
		}public Paging ObjectPaging
                            {
                                get{return this.objPaging;}
                                set{this.objPaging=value;}
                            }
            public SortOrder ObjectSortOrder
                            {
                                get{return this.objSortOrder;}
                                set{this.objSortOrder=value;}
                            }
            public string Condition
                            {
                                get{return this.condition;}
                                set{this.condition=value;}
                            }
            public int ToltalRow
                            {
                                get{return this.toltalRow;}
                                set{this.toltalRow=value;}
                            }
            
              /// <summary>
            /// Define SubCategory_TransCollection Property
            /// </summary>
            public List<SubCategory_Trans> SubCategory_TransCollection
            {
                get { return this.lstSubCategory_Trans;}
			    set { this.lstSubCategory_Trans  = value;}
            }
		#endregion properties
	}
}